package com.chinackts.proceedspayment.exportproceeds.query;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotNull;

/**
 * @author Lianhong
 * @since 2022/4/21
 */
public class ExportProceedsPageQuery extends ExportProceedsListQuery {

    @ApiModelProperty("页码")
    @NotNull(message = "页码不能为空")
    private Integer pageNo;

    @ApiModelProperty("分页条数")
    @NotNull(message = "分页条数不能为空")
    @Max(value = 500, message = "请提供范围在500以内的分页条数")
    private Integer pageSize;

    public Integer getPageNo() {
        return pageNo;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }


}
